#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>

int main()
{
    int a = 0;
    while (scanf("%d", &a) != -1)
    {
        for (int i = 1; i <= a; i++)
        {
            if (i == a)
                printf("*\n");
            else printf("*");
        }
    }
    return 0;
}